Skip to main content

DateInterval

DateInterval[{start,end}] represents the continuous interval of time between start and end.

DateInterval[{start,end},gran] represents an interval of dates with calendar granularity gran.

DateInterval[{{start1,end1},{start2,end2},…}] represents the union of intervals start1 to end1, start2 to end2, ….

DateInterval[gdate] gives the date interval from the initial to final instants of the granular date object gdate.

Please visit the official Wolfram Language Reference for more details and examples on core symbols.